<?php

/**
 * @author Usenko Timur <usenko.timur@gmail.com>
 * @package mime
 */

CCore::Using('base.constants');

/**
 * Mime constants
 */

#<editor-fold defaultstate="collapsed" desc="headers">
define('C_MIME_HEADERS_DATE', 'Date');
define('C_MIME_HEADERS_RECEIVED', 'Received');
define('C_MIME_HEADERS_SUBJECT', 'Subject');

define('C_MIME_HEADERS_TO', 'To');
define('C_MIME_HEADERS_FROM', 'From');
define('C_MIME_HEADERS_CC', 'Cc');
define('C_MIME_HEADERS_BCC', 'Bcc');
define('C_MIME_HEADERS_REPLY_TO', 'Reply-To');
define('C_MIME_HEADERS_RETURN_PATH', 'Return-Path');

define('C_MIME_HEADERS_CONTENT_TYPE', 'Content-Type');
define('C_MIME_HEADERS_CONTENT_TRANSFER_ENCODING', 'Content-Transfer-Encoding');
define('C_MIME_HEADERS_CONTENT_DISPOSITION', 'Content-Disposition');
define('C_MIME_HEADERS_CONTENT_DESCRIPTION', 'Content-Description');
define('C_MIME_HEADERS_CONTENT_ID', 'Content-ID');
define('C_MIME_HEADERS_CONTENT_LOCATION', 'Content-Location');
#</editor-fold>

#<editor-fold defaultstate="collapsed" desc="encode">
define('C_MIME_QUOTED_PRINTABLE', 'Quoted-Printable');
define('C_MIME_QUOTED_PRINTABLE_SHORT', 'Q');

define('C_MIME_BASE64', 'Base64');
define('C_MIME_BASE64_SHORT', 'B');

define('C_MIME_X_UUE', 'X-Uue');
#</editor-fold>

#<editor-fold defaultstate="collapsed" desc="charsets">
define('C_MIME_CHARSET_UTF7_IMAP', 'utf7-imap');
define('C_MIME_CHARSET_UTF8', 'utf-8');
#</editor-fold>

#<editor-fold defaultstate="collapsed" desc="other">
define('C_MIME_CRLF', C_CRLF);
define('C_MIME_TAB', C_TAB);
define('C_MIME_LINE_LENGTH_LIMIT', 75);
define('C_MIME_DEFAULT_CHARSET', C_MIME_CHARSET_UTF8);

define('C_MIME_BODYSTRUCTURE_TYPE_NONE', 0);
define('C_MIME_BODYSTRUCTURE_TYPE_TEXT_PLAIN', 1);
define('C_MIME_BODYSTRUCTURE_TYPE_TEXT_HTML', 2);
define('C_MIME_BODYSTRUCTURE_TYPE_ATTACHMENT', 3);
#</editor-fold>
